import request from '@/utils/request.js'

export async function categorybrandprolist (params) {
  var res = await request.get('http://121.89.205.189/api/pro/categorybrandprolist', {
    params: params
  })
  return res.data.data
}

export async function hotSearch (params) {
  var res = await request.get('http://121.89.205.189/api/pro/search', {
    params: params
  })
  return res.data.data
}

export async function categorybrandlist (params) {
  var res = await request.get('http://121.89.205.189/api/pro/categorybrandlist', {
    params: params
  })
  return res.data.data
}

export async function categorylist (params) {
  var res = await request.get('http://121.89.205.189/api/pro/categorylist')
  return res.data.data
}
